package com.cx.service;

import com.cx.pojo.Carts;
import com.cx.vo.CartsInfo;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Description
 * @Author 11597
 * @Date 2020/5/12 14:16
 */
public interface CartsInfoService {
    List<CartsInfo> selectByUserId(int userId);
    CartsInfo selectByUserIdAndGoodId(int userId,int goodId);
    double getTotalPrice(int userid);
    int addCartsOrder(List<Carts> cartsList, Integer userId , Double totalprice);
}
